package com.kmzx.one.project.others.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

@ApiModel(description = "购物车商品信息")
public class UserCartInfo {

    @ApiModelProperty(name = "cartId", value = "购物车id主键")
    private String cartId;

    // 用户id
    @ApiModelProperty(name = "userId", value = "用户id")
    private String userId;


    @ApiModelProperty(name = "prodId", value = "商品id")
    private String prodId;

    @ApiModelProperty(name = "prodName", value = "商品名字")
    private String prodName;

    @ApiModelProperty(name = "unitId", value = "商品的skuId")
    private String unitId;

    @ApiModelProperty(name = "prodImg", value = "商品的图片")
    private String prodImg;

    @ApiModelProperty(name = "attributeNames", value = "商品的属性信息")
    private String attributeNames;

    @ApiModelProperty(name = "prodNum", value = "商品的 数量")
    private int prodNum;


    @ApiModelProperty(name = "prodPrice", value = "商品的 价格")
    private BigDecimal prodPrice;

    @ApiModelProperty(name = "enable", value = "商品 是否下架")
    private int enable;

    @ApiModelProperty(name = "checked", value = "商品 是否 选中")
    private int checked;

    @ApiModelProperty(name = "count", value = "商品 总共有几件")
    private int count;

//    @ApiModelProperty(name = "allId", value = "商品skuID 的子id")
//    private String allId;

    @ApiModelProperty(name = "discountImg", value = "商品skuID 的子id")
    private String discountImg;

    @ApiModelProperty(name = "beauty", value = "美颜值")
    private BigDecimal beauty;

    private Integer inOrOut;


    // 打折后的价格
    private BigDecimal currentPrice;

    private int number;

    private boolean has;

    private int kinds;

    private BigDecimal extraRate;

    private BigDecimal extraMoney;


    public BigDecimal getCurrentPrice() {
        return currentPrice;
    }

    public UserCartInfo setCurrentPrice(BigDecimal currentPrice) {
        this.currentPrice = currentPrice;
        return this;
    }

    public int getKinds() {
        return kinds;
    }

    public UserCartInfo setKinds(int kinds) {
        this.kinds = kinds;
        return this;
    }

    public BigDecimal getExtraRate() {
        return extraRate;
    }

    public void setExtraRate(BigDecimal extraRate) {
        this.extraRate = extraRate;
    }

    public BigDecimal getExtraMoney() {
        return extraMoney;
    }

    public void setExtraMoney(BigDecimal extraMoney) {
        this.extraMoney = extraMoney;
    }

    public Integer getInOrOut() {
        return inOrOut;
    }

    public UserCartInfo setInOrOut(Integer inOrOut) {
        this.inOrOut = inOrOut;
        return this;
    }


    public BigDecimal getProdPrice() {
        return prodPrice;
    }

    public UserCartInfo setProdPrice(BigDecimal prodPrice) {
        this.prodPrice = prodPrice;
        return this;
    }

    public int getProdNum() {
        return prodNum;
    }

    public UserCartInfo setProdNum(int prodNum) {
        this.prodNum = prodNum;
        return this;
    }

    public String getCartId() {
        return cartId;
    }

    public UserCartInfo setCartId(String cartId) {
        this.cartId = cartId;
        return this;
    }

    public String getProdName() {
        return prodName;
    }

    public UserCartInfo setProdName(String prodName) {
        this.prodName = prodName;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public UserCartInfo setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public String getProdId() {
        return prodId;
    }

    public UserCartInfo setProdId(String prodId) {
        this.prodId = prodId;
        return this;
    }

    public String getUnitId() {
        return unitId;
    }

    public UserCartInfo setUnitId(String unitId) {
        this.unitId = unitId;
        return this;
    }

    public String getProdImg() {
        return prodImg;
    }

    public UserCartInfo setProdImg(String prodImg) {
        this.prodImg = prodImg;
        return this;
    }

    public String getAttributeNames() {
        return attributeNames;
    }

    public UserCartInfo setAttributeNames(String attributeNames) {
        this.attributeNames = attributeNames;
        return this;
    }

    public int getEnable() {
        return enable;
    }

    public UserCartInfo setEnable(int enable) {
        this.enable = enable;
        return this;
    }

    public int getChecked() {
        return checked;
    }

    public UserCartInfo setChecked(int checked) {
        this.checked = checked;
        return this;
    }

    public int getCount() {
        return count;
    }

    public UserCartInfo setCount(int count) {
        this.count = count;
        return this;
    }


    public String getDiscountImg() {
        return discountImg;
    }

    public UserCartInfo setDiscountImg(String discountImg) {
        this.discountImg = discountImg;
        return this;
    }


    public int getNumber() {
        return number;
    }

    public UserCartInfo setNumber(int number) {
        this.number = number;
        return this;
    }

    public boolean isHas() {
        return has;
    }

    public UserCartInfo setHas(boolean has) {
        this.has = has;
        return this;
    }

    public BigDecimal getBeauty() {
        return beauty;
    }

    public UserCartInfo setBeauty(BigDecimal beauty) {
        this.beauty = beauty;
        return this;
    }
}
